<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link th:href="@{/local/css/login.css}" rel="stylesheet">
</head>
<body>
<div>
    <div id="error" th:text="${msg}"></div>
    <form action="/admin/doLogin" method="post">
        用户名<input type="text" name="name" >
        密  码<input type="password" name="password" >
        <input type="submit" value="提交">
    </form>
</div>
</body>
</html>